package com.acme.bankapp.service.bank;

import java.io.Serializable;

import com.acme.bankapp.domain.bank.Client;

public class EmailNotificationListener implements ClientRegistrationListener,
		Serializable {
	
	private static final long serialVersionUID = 1L;
	private final static String before = "Notification email for client ";
	private final static String after = " to be sent";

	@Override
	public void onClientAdded(Client client) {
		System.out.println(before + client.getName() + after);
	}

}
